]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
blur-effect: Add some more documentation about performance
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 10 Feb 2020 14:21:29 +0000 (15:21 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 12 Feb 2020 14:02:28 +0000 (14:02 +0000)
Explicitly mention that this effect works best for large blur radii and
can be slow if the blurred actor/image is large and not being scaled.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

src/shell-blur-effect.c

index 4a2f8f782fe7d3404c1001810f7a66ce728b0a91..7f1be6b1dfc8473aa6e86d084c06035d11098e4e 100644 (file)
@@ -42,7 +42,9 @@
  * # Optimizations
  *
  * There are a number of optimizations in place to make this blur implementation
- * real-time.
+ * real-time. All in all, the implementation performs best when using large
+ * blur-radii that allow downscaling the texture to smaller sizes, at small
+ * radii where no downscaling is possible this can easily halve the framerate.
  *
  * ## Multipass
  *